package com.example.domain.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("orders")
public class Order {
    @TableId
    private Long orderId;
    private Long userId;
    private Long productId;
    private Long sellerId;
    private String recvName;
    private String recvPhone;
    private String recvProvince;
    private String recvCity;
    private String recvArea;
    private String recvAddress;
    private Double totalPrice;
    private Integer status;//0:下单未发货 1：发货但未签收 2：已签收
    private String orderTime;
    private String payTime;
}
